package com.liaowei.post.model.param;

import com.liaowei.model.param.PageParam;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

@Data
public class SpecialColumnManagePageParam {
    private String name; // 专栏名称
    @NotNull(message = "分页参数不能为空")
    private PageParam pageParam; // 分页参数
    @Range(min = -1,max = 1,message = "请输入合法的状态")
    private Integer status; // 状态
}
